package com.laght.jdkdemo.jdk8demo.methodquote;

import lombok.Data;

@Data
public class MethodQuoteDemo {
    private String instatceName;

    public MethodQuoteDemo() {
    }

    public MethodQuoteDemo(String instatceName) {
        this.instatceName = instatceName;
    }

    public static void staticMethod(String instatceName){
        System.out.println(instatceName + "：执行MethodQuoteDemo的静态方法staticMethod");
    }

    public void noStaticMethod(){
        System.out.println(this.instatceName + "：执行MethodQuoteDemo的非静态方法noStaticMethod");
    }
}
